import request from '@/utils/request'

export function listDemand(query) {
  return request({
    url: '/demand/selectDemand',
    method: 'get',
    params: query
  })
}

// 获取开发者列表
export function listDevlopers() {
  return request({
    url: '/demand/getdeveloperlist',
    method: 'get'
  })
}


// 新增需求
export function addDemand(data) {
  return request({
    url: '/demand/insertDemand',
    method: 'post',
    data: data
  })
}